package com.egu.service;

import java.util.List;

import com.egu.model.User;
import com.egu.vo.PageParam;
import com.egu.vo.RequestPageVo;
import com.egu.vo.RequestResultVo;

public interface UserService{

	User findUserByUserName(String userName);



	RequestResultVo<List<User>> getAllList();

	public RequestPageVo<User> getList(PageParam param, User user);

	RequestResultVo<User> saveOrUpdate(User user);

	RequestResultVo<User> deleteDataById(Integer id);

	boolean savePw(String userPw, String newUserPw);

}
